package com.tbit.main.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tbit.main.pojo.DispatchApplyMachine;

import java.util.Collection;
import java.util.List;

/**
 * @Author: chen
 * @Description: 调度申请车辆
 * @Date: 创建于 15:56 2023/2/10
 */
public interface DispatchApplyMachineService extends IService<DispatchApplyMachine> {

    /**
     * 查询已存在申请车辆id
     *
     * @param machineId
     * @param accountId
     * @return
     */
    List<Integer> getStateMachineId(List<Integer> machineId, Integer accountId);

    /**
     * 批量保存
     *
     * @param entityList
     * @return
     */
    @Override
    boolean saveBatch(Collection<DispatchApplyMachine> entityList);

}
